#pragma once

#include "stdafx.h"

class GameConfig
{
public:
	GameConfig(void);
	~GameConfig(void);
	bool LoadFile(std::string file);	// Charge le fichier

private:
	void SetParam(std::string key, std::string value);	//Associe la valeur a la variable

public:
	unsigned int		GetFps();
	unsigned int		GetWidth();
	unsigned int		GetHeight();			

private:
	std::string					_fileName;		// Nom du fichier de configuration
	std::vector<std::string>	_paramKeys;		// Differents parametres possible

private:
	//general
	unsigned int		_fps;

	//graphics
	unsigned int		_width;
	unsigned int		_height;
};

